package com.hqbzl.chat.message;

import com.hqbzl.chat.protocol.MessageType;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

import static com.hqbzl.chat.constant.Constants.PING_REQUEST_MSG_TYPE;
@Getter
@AllArgsConstructor
public class PingMessage implements MessageType, Serializable {
    private String msg;

    @Override
    public int getMessageType() {
        return PING_REQUEST_MSG_TYPE;
    }

    @Override
    public int getSequenceId() {
        return 0;
    }
}
